<?php


namespace App\Resource;

use Hyperf\Resource\Json\JsonResource;

class GroupResource extends JsonResource
{
    public function toArray(): array
    {
        $data = $this->resource->toArray();
        unset($data['group_users']);

        return $data;
    }
}